package priv.pront.code.robot.roboCom_pri_2021.zhi;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.StreamTokenizer;

/**
 * @Description:
 * @Author: pront
 * @Time:2023-07-09 16:43
 */
public class 月份输出 {

    static String[] s = {"January", "February", "March","April", "May"
            ,"June","July","August","September","October",
            "November","December"};
    public static void main(String[] args) throws IOException {
        StreamTokenizer st = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));

        while(true){
            st.nextToken();
            int n = (int)st.nval;
            if(n == -1) break;
            if(n > 12 || n < 1){
                System.out.println("?");
            }else{
                System.out.println(s[n - 1]);
            }

        }
    }
}
